package com.zbkj.service.service;

import com.zbkj.common.model.agent.AgentConfigItems;
import com.zbkj.common.request.AgentStatusRequest;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.response.AgentConfigDetailResponse;
import com.zbkj.common.response.AgentConfigPageDataResponse;
import com.zbkj.common.request.AgentConfigSearchRequest;
import com.zbkj.common.request.AgentConfigSaveRequest;
import com.zbkj.common.model.agent.AgentConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.response.BrandAgentCategoryListResponse;

import java.util.List;
/**
* @author dazongzi
* @description AgentConfigService 接口
* @date 2025-07-01
*/
public interface AgentConfigService extends IService<AgentConfig> {

    Boolean create(AgentConfigSaveRequest agentConfigSaveRequest);
    AgentConfig getAgentConfigByTargetBrand(Integer targetBrandId);
    /**
     * 分页查询平台代理配置表
     * @param request 查询条件
     * @param pageParamRequest 分页对行
     * @return 查询结果
     */
    List<AgentConfigPageDataResponse> getList(AgentConfigSearchRequest request, PageParamRequest pageParamRequest);

    boolean updatePlatform(AgentConfigSaveRequest agentConfigRequest);

    AgentConfigDetailResponse getDetailById(Integer id);

    boolean batchDelete(List<Integer> idList);

    List<BrandAgentCategoryListResponse> getPlatformCategoryList();

    AgentConfigItems getPlatformCategotysBrokerage(Integer agentConfigCategoryId);

    boolean updateStatus(AgentStatusRequest request);
}